package com.yl.module.common.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Todo
 * @Author jiangtao
 * @CreateBy 2020-06-15 5:19 PM
 * @UpdateBy jiangtao
 * @Version v1.0
 */
@Data
public class TextMailForm implements Serializable {

    @NotNull(message = "邮件主题不能为空")
    private String subject;

    @NotNull(message = "收件人不能为空")
    private String to;

    @NotNull(message = "邮件正文不能为空")
    private String content;

}
